package com.buka.server.pojo;


import lombok.Data;


import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName user_controller
 */
@Data
@Table(name = "user_controller")
public class UserControl implements Serializable {

    /**
     *
     */
    @Id
    private Long id;
    /**
     *
     */
    @Column(name = "username")
    private String username;
    /**
     *
     */
    @Column(name = "nickname")
    private String nickname;
    /**
     *
     */
    @Column(name = "password")
    private String password;
    /**
     *
     */
    @Column(name = "email")
    private String email;
    /**
     *
     */
    @Column(name = "phone")
    private String phone;
    /**
     *
     */
    @Column(name = "avatar")
    private String avatar;
    /**
     *
     */
    @Column(name = "dept")
    private String dept;
    /**
     *
     */
    @Column(name = "status")
    private Integer status;
    /**
     *
     */
    @Column(name = "is_delete")
    private Integer isDelete;
    /**
     *
     */
    @Column(name = "create_time")
    private Date createTime;
    /**
     *
     */
    @Column(name = "update_time")
    private Date updateTime;
    /**
     *
     */
    @Column(name = "role")
    private String role;


}
